package com.weiz.designpatterns.proxy;

/**
 * ProxyPoint 代售点
 */
public class ProxyPoint implements SellTickets{
    //声明火车站类对象
    private TrainStation trainStation = new TrainStation();

    @Override
    public void sell() {
        System.out.println("代售点收取一些费用");
        trainStation.sell();
    }
}
